# !/usr/local/bin/ruby -w 
# access.rb
#
# This program realizes the AdministratorInterface Subsystem.
# The code for authentication starts to execute after Administraror enters the key access.
#
# Authors:: Ronak Shah (mailto: ronshah@eden.rutgers.edu)
# License:: Distributes under the same terms as Ruby

while(1)
puts "Please type Access to view Database "
line = gets
line=line.strip!
if line == "access"
puts "Given Access to view Database"
system("ruby authenticate.rb")
else
puts "Please type access again"
end
end

